
/**
 * 游戏事件ID定义
 */
export namespace EventName {
	/** game */
	export enum Game {
		/** 移动 */
		Move = "Move",
		/** 停止移动 */
		EndMove = "EndMove",
		/** 点击到的方块 */
		TouchTile = "TouchTile",
		/** 重新开始 */
		Restart = "Restart",
		/** 刷新层数 */
		UpdateGameInfo = "UpdateGameInfo",
		/** 下一关 */
		NextLevel = "NextLevel",
		/** 加载地图 */
		LoadMap = "LoadMap",
		/** 返回主页 */
		BackHome = "BackHome",
		/** 分享 */
		Share = "Share",
		/** 点击到方块做出回应 */
		ClickedTile = "ClickedTile",
		/** 链接服务器成功 */
		Connected = "Connected",
		/** 全局倒计时 */
		TIMER_DOWN = "TIMER_DOWN",


		/**加入或者离开房间 */
		JOIN_OR_LEAVE_ROOM = "JOIN_OR_LEAVE_ROOM",
		JOIN_OR_LEAVE_ROOM_TO_VIEW = "JOIN_OR_LEAVE_ROOM_TO_VIEW",
		/** 加入或者离开座位 */
		JOIN_OR_LEAVE_SEAT = "JOIN_OR_LEAVE_SEAT",
		JOIN_OR_LEAVE_SEAT_TO_VIEW = "JOIN_OR_LEAVE_SEAT_TO_VIEW",
		/** 准备或者取消准备 */
		READY_OR_NOT = "READY_OR_NOT",
		READY_OR_NOT_TO_VIEW = "READY_OR_NOT_TO_VIEW",
		/** 选择模式 */
		SElECT_MODEL = "SElECT_MODEL",
		SELECT_MODEL_TO_VIEW = "SELECT_MODEL_TO_VIEW",
		/** 开始游戏 */
		START_GAME = "START_GAME",
		START_GAME_TO_VIEW = "START_GAME_TO_VIEW",
		/** 玩家信息 */
		USER_INFO = "USER_INFO",
		/** 游戏进行中 */
		GAME_PLAYING = "GAME_PLAYING",
		/** 清除行 */
		CLEAR_LINE = "CLEAR_LINE",
		/** 数据下沉 */
		SINK = "SINK",
		/** 数据上浮 */
		COME_UP = "COME_UP",
		/** 游戏结束 */
		GAME_OVER = "GAME_OVER",


		/** 原生端通讯接口：离开房间 */
		NATIVE_LEAVE_ROOM = "NATIVE_LEAVE_ROOM",
		NATIVE_PLAYER_TALK = "NATIVE_PLAYER_TALK",


		/** SocketIO 及其他相关事件 */
		SocketConnectSucceed = "SocketConnectSucceed"

	}
}
